home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / dlaqgb.z / dlaqgb
Encoding:
Text File  |  2002-10-03  |  4.8 KB  |  133 lines

  1.  
  2.  
  3.  
  4. DDDDLLLLAAAAQQQQGGGGBBBB((((3333SSSS))))                                                          DDDDLLLLAAAAQQQQGGGGBBBB((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DLAQGB - equilibrate a general M by N band matrix A with KL subdiagonals
  10.      and KU superdiagonals using the row and scaling factors in the vectors R
  11.      and C
  12.  
  13. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.      SUBROUTINE DLAQGB( M, N, KL, KU, AB, LDAB, R, C, ROWCND, COLCND, AMAX,
  15.                         EQUED )
  16.  
  17.          CHARACTER      EQUED
  18.  
  19.          INTEGER        KL, KU, LDAB, M, N
  20.  
  21.          DOUBLE         PRECISION AMAX, COLCND, ROWCND
  22.  
  23.          DOUBLE         PRECISION AB( LDAB, * ), C( * ), R( * )
  24.  
  25. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  26.      These routines are part of the SCSL Scientific Library and can be loaded
  27.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  28.      directs the linker to use the multi-processor version of the library.
  29.  
  30.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  31.      4 bytes (32 bits). Another version of SCSL is available in which integers
  32.      are 8 bytes (64 bits).  This version allows the user access to larger
  33.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  34.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  35.      only one of the two versions; 4-byte integer and 8-byte integer library
  36.      calls cannot be mixed.
  37.  
  38. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  39.      DLAQGB equilibrates a general M by N band matrix A with KL subdiagonals
  40.      and KU superdiagonals using the row and scaling factors in the vectors R
  41.      and C.
  42.  
  43. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  44.      M       (input) INTEGER
  45.              The number of rows of the matrix A.  M >= 0.
  46.  
  47.      N       (input) INTEGER
  48.              The number of columns of the matrix A.  N >= 0.
  49.  
  50.      KL      (input) INTEGER
  51.              The number of subdiagonals within the band of A.  KL >= 0.
  52.  
  53.      KU      (input) INTEGER
  54.              The number of superdiagonals within the band of A.  KU >= 0.
  55.  
  56.      AB      (input/output) DOUBLE PRECISION array, dimension (LDAB,N)
  57.              On entry, the matrix A in band storage, in rows 1 to KL+KU+1.
  58.              The j-th column of A is stored in the j-th column of the array AB
  59.              as follows:  AB(ku+1+i-j,j) = A(i,j) for max(1,j-
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDLLLLAAAAQQQQGGGGBBBB((((3333SSSS))))                                                          DDDDLLLLAAAAQQQQGGGGBBBB((((3333SSSS))))
  71.  
  72.  
  73.  
  74.              ku)<=i<=min(m,j+kl)
  75.  
  76.              On exit, the equilibrated matrix, in the same storage format as
  77.              A.  See EQUED for the form of the equilibrated matrix.
  78.  
  79.      LDAB    (input) INTEGER
  80.              The leading dimension of the array AB.  LDA >= KL+KU+1.
  81.  
  82.      R       (output) DOUBLE PRECISION array, dimension (M)
  83.              The row scale factors for A.
  84.  
  85.      C       (output) DOUBLE PRECISION array, dimension (N)
  86.              The column scale factors for A.
  87.  
  88.      ROWCND  (output) DOUBLE PRECISION
  89.              Ratio of the smallest R(i) to the largest R(i).
  90.  
  91.      COLCND  (output) DOUBLE PRECISION
  92.              Ratio of the smallest C(i) to the largest C(i).
  93.  
  94.      AMAX    (input) DOUBLE PRECISION
  95.              Absolute value of largest matrix entry.
  96.  
  97.      EQUED   (output) CHARACTER*1
  98.              Specifies the form of equilibration that was done.  = 'N':  No
  99.              equilibration
  100.              = 'R':  Row equilibration, i.e., A has been premultiplied by
  101.              diag(R).  = 'C':  Column equilibration, i.e., A has been
  102.              postmultiplied by diag(C).  = 'B':  Both row and column
  103.              equilibration, i.e., A has been replaced by diag(R) * A *
  104.              diag(C).
  105.  
  106. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  107.      THRESH is a threshold value used to decide if row or column scaling
  108.      should be done based on the ratio of the row or column scaling factors.
  109.      If ROWCND < THRESH, row scaling is done, and if COLCND < THRESH, column
  110.      scaling is done.
  111.  
  112.      LARGE and SMALL are threshold values used to decide if row scaling should
  113.      be done based on the absolute size of the largest matrix element.  If
  114.      AMAX > LARGE or AMAX < SMALL, row scaling is done.
  115.  
  116. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  117.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  118.  
  119.      This man page is available only online.
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.